home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Video Toaster 4.0
/
Video Toaster v4.0.iso
/
programs
/
documentation
/
editorarexx.doc
< prev
next >
Wrap
Text File
|
1995-03-10
|
10KB
|
385 lines
Editor ARexx Documentation Mar 10 1995
The Video Toaster's Editor interface is controlled through an entirely
separate program, Edit. It has its own ARexx port, which is configured as
a function host. The port name is PROJECT_REXX_PORT, and the functions
it responds to are documented below. Although arexx programs can be
executed (asynchronously) from within a sequence, the editor itself is
preoccupied with its sequencing duties, and will not respond to any rexx
messages sent to it until after the sequence is done playing. The upshot
of this is that you must put your rexx croutons at the end of a sequence if
you want them to talk to the editor. Have fun.
"CROUTONNAME" returns crouton name
ARGS: [Row,Column]
"CROUTONSPOT" return position in grid for current crouton
ARGS: NONE
"CROUTONTYPE" Return Crouton Type
ARGS: [coords]
"CROUTONPICK" Pick Crouton -- Selects Crouton
ARGS: 0 args ==> deselect allRow,Column or no args to
ARGS: 1 args ==> Number OR "FIRST" or "LAST"
ARGS: 2 args ==> Row,Column
"CROUTONLOAD" Load Crouton -- Adds named crouton to end of project
ARGS: CroutonName
"CROUTONRUN" Run Crouton without adding to project
ARGS: CroutonName
"CROUTONSTOP" Aborts currently playing crouton (clip)
ARGS: none
"CROUTONGETTAG" Return Tag value, may be 0 if tag doesn't exist OR tag has value of 0
ARGS: Tag name
"CROUTONSETTAG" Set crouton tag value
ARGS: Tag name, Value
"CROUTONCHECKTAG" Check existance of tag in crouton, return size
ARGS: Tag name
"PROJECTLOAD" Load Project
ARGS: Project name (full path)
"PROJECTSAVE" Save Project
ARGS: Project name (full path)
"PROJECTPLAY" Play Project
ARGS: none
"FLYERDRIVE" Return flyer drive name based on index in internal list, or ""
ARGS: Drive number, starting at 0
"FLYERSTATUS" Return flyer status/error code, useful for checking
recording/playing or errors. The codes are listed below.
ARGS: NONE
"RECORDCLIP" Record a named flyer clip, won't overwrite existing clip w/ same name
ARGS: ClipName [, # of Fields, Source, Compression Mode]
if fields=0, recording continues 'til drive is full omitting source
or mode will use last selected mode, note that all clips must have
full flyer VOLUME name included.
"RECORDPAUSE" Pause Recording
ARGS: Pause=1 for Pause, 0 for resume
"RECORDSTOP" Stop Recording
ARGS: none
"MAKEICON" Create an icon for a flyer clip, optionally make 'Flyer Still'
icon for 4=field clips by adding 'STILL' keyword.
ARGS: ClipName [, Field, ['STILL'] ]
"REQ_ERROR" Display error message at top of screen
ARGS: String
"REQ_NUMBER" Put up number requester with optional min,max limits
ARGS: Title, [num,[min,[max]]]
"REQ_STRING" String requester
ARGS: Title, [String]
"REQ_TELL" Put up requester with title and up to 3 lines, return 1 or 0
ARGS: Title, [line1,[line2,[line3]]]
"REQ_TIME" Time code string requester -- alters/returns time string like 'HH:MM:SS:FF'
ARGS: Title, [time]
"REQ_OPEN" Open an asynchronous requester with title and up to 3 lines, return nothing
ARGS: Title, [line1,[line2,[line3]]]
"REQ_CLOSE" Close asynchronous opened with REQ_OPEN
ARGS: NONE
"STARTFILEREQ" Open Grazer as file requester, use QUERYFILEREQ to query result
ARGS: Title, Initial path, Initial file
"QUERYFILEREQ" Return result of Grazer as file requester:
"" if requester is up, 0 if canceled, or name
ARGS: NONE
"CURRENTPATH" Return current path in bottom grazer window, if any
ARGS: NONE
"GETSCREEN" Return editor/switcher screen address
ARGS: NONE
"SET_VIEW" Change views between project/files, project/Switcher, etc.
ARGS: View# 0-5 though 4 is not supported, 5 is no top window, a rexx-only mode
"ADDPROGRAM" Add a Name and command to 'Programs' popup
ARGS: Program Name(28 chars max), command string(127 chars max), flags
where:
Name appears in popup, runs command as either rexx or dos script
depending on flags bit 0 (i.e. 1 for ARexx, 0 for dos). Returns
number in popup sequence. N.B. The editor waits for Dos commands
to return, thus an app. that will not finish immediately should
be preceeded by the 'run' command.
"REMPROGRAM" Remove user-program from 'Programs' popup
ARGS: program index (position in popup) as returned by Addprogram
"PROGRAMCMD" return user-program command string
ARGS: program index (position in popup) as returned by Addprogram
"PROGRAMNAME" return user-program name as it appears in Programs popup
ARGS: program index (position in popup) as returned by Addprogram
"PROGRAMNUM" return program index (position in popup)
ARGS: User-program command string
"TBC" Adjust Flyer TBC settings
ARGS: Setting,[value] (if value is omitted, current setting is returned
Setting May be 1 of: (cap.s are min. abbrev.)
Bright(-64 - 63), Contrast(0-127), Saturation(0-127),
HUe(-64-63), Fader(0-255), Phase(0-2047),
HorizAdj(0-909), Key(0-3), Mode(0-2)(for keyer),
Encoder(0-15), Decoder(0-8),
Termination(0-31), Input(0-3), Out(0,1)
Here are the tag names you can use with the crouton tag commands.
Internally, they correspond to ordered numbers which may have the first bit
set to indicate whether the values are LONGs or variable length tables.
The meaning of the tags should be evident from their names, and if they're
not, that is a good indication that you shouldn't mess with them, and they
probably won't do anything if you do.
Version
Revision
AAeffect
NonAAeffect
KillInterfaceNonAA
KillInterfaceAA
ButtonELHlogic
CustomButtonELHlogic
NumberOfAnims
RequestFileName
AnimFiles
Frames
FieldSync
VariableSpeeds
ForcePlayForward
ForcePlayReverse
LoopAnims
AnimControl
AudioFastSamples
AudioMediumSamples
AudioSlowSamples
AudioFiles
AudioControl
PauseTimes
LatchColors
TransparentColors
PaletteColors
Equations
Encoder
VerticalScroll
ReverseTime
ReverseButtLog
ReverseCustomButtLog
KeyMode
MatteColor
CustomMatteColor
BorderColor
CustomBorderColor
LineNumbers
LineNumberPlane
ForceFreeze4
ForceFreeze8
ForceLive
ForceLumKeyOn
ForceLumKeyOff
ForceLumKeyOnBlack
ForceLumKeyOnWhite
BadDefaultFX
LoadPictures
FadeInDuration
FadeOutDuration
DigitalFX
TimeMode
LUT
DigitalPairs
LatchAM
LatchBM
LatchIS
HonorPreviewOverLay
ForceDefaultMatte
TurnAudioFilterOff
AudioStartField
NumAudioFields
ISandClipPause
Interlaced
FirstFieldNTSCII
BounceILBM
LatchRanges
LatchList
TransparentRanges
TransparentList
Color0Transparent
AbortIfSlow
NumSkipFieldsAtEnd
TBarDoesAuto
DoNotStompSprite
AbortLoopAtEnd
NonAAremap
100PercentWhiteMatte
UseEffectColor
LoopCount
CroutonType
TimeLine
IndexID
FCountMode
VariableFCount
SlowFCount
MedFCount
FastFCount
VariableFCount68000
SlowFCount68000
MedFCount68000
FastFCount68000
NumFields
StartTime
DescriptorList
AboutList
CommentList
AlgoFXtype
AlgoFXborder
NumFramesSlow
NumFramesMedium
NumFramesFast
NumFramesVariable
Page
Speed
Delay
Duration
AudioAttack
AudioDecay
RecFields
AudioOn
AudioStart
AudioDuration
ClipStartField
FadeInVideo
MaxDuration
VideoSource
LoadedSlices
OriginalLocation
AudioVolume1
AudioVolume2
AudioPan1
AudioPan2
PanelMode
ColorMode
CycleMode
DataMode
AdjustedVideoStart
AdjustedVideoDuration
Asynchronous
CommandLine
SMPTEtime
TBarPosition
Here are the Error codes returned by the FLYERSTATUS command.
/*** General Flyer Errors ***/
#define FERR_OKAY 0x00 /* All went well */
#define FERR_CMDFAILED 0x01 /* Command failed for some reason */
#define FERR_BUSY 0x02 /* Still in progress */
#define FERR_ABORTED 0x03 /* User abort */
#define FERR_BADPARAM 0x04 /* Bad command parameter */
#define FERR_BADCOMMAND 0x05 /* Command not defined/supported */
#define FERR_BADVIDHDR 0x06 /* Ran out of video - no header detected */
#define FERR_WRONGMODE 0x07 /* Wrong play/rec mode for action */
#define FERR_OLDDATA 0x08 /* Incompatible data */
#define FERR_NOAUDIOCHAN 0x09 /* No free audio channel(s) */
#define FERR_CHANINUSE 0x0A /* Video/SCSI channel not available */
#define FERR_BADFLDHAND 0x0B /* Bad field handle */
#define FERR_CLIPLATE 0x0C /* A/V clip started late */
/*** Flyer Internal Errors ***/
#define FERR_NOTASKS 0x10 /* No SCSI tasks available for use */
#define FERR_LISTCORRUPT 0x11 /* Internal list corrupt */
#define FERR_NOTINRANGE 0x12 /* Internal list error */
#define FERR_EEFAILURE 0x13 /* EEPROM failure */
#define FERR_NOFINDERS 0x14 /* No FrameFinders available for use */
#define FERR_BADMODULE 0x1F /* Incompatible module provided */
/*** FileSystem Errors ***/
#define FIRSTFSERR 0x20
#define FERR_OBJNOTFOUND 0x20 /* Could not find file/dir */
#define FERR_FULL 0x21 /* Drive full */
#define FERR_DIRFULL 0x22 /* Directory full */
#define FERR_EXHAUSTED 0x23 /* Directory list exhausted */
#define FERR_FSFAIL 0x24 /* FileSystem failure */
#define FERR_WRONGTYPE 0x25 /* Wrong type of object */
#define FERR_UNFORMATTED 0x26 /* Drive not high-level formatted */
#define FERR_EXCLUDED 0x27 /* Exclusive lock prevented action */
#define FERR_OUTOFRANGE 0x28 /* Seek beyond bounds */
#define FERR_CANTEXTEND 0x29 /* End of file, and cannot extend file */
#define FERR_PROTECTED 0x2A /* Drive write-protected */
#define FERR_DIFFERENT 0x2B /* Grips are different objects */
#define FERR_EXISTS 0x2C /* File already exists */
#define FERR_NOMEM 0x2D /* Out of storage */
#define FERR_DELPROT 0x2E /* Delete-protected file */
#define FERR_READPROT 0x2F /* Read-protected file */
#define FERR_WRITEPROT 0x30 /* Write-protected file */
#define FERR_INUSE 0x31 /* Disk/object in use */
#define FERR_DIRNOTEMPTY 0x32 /* Directory was not empty */
#define LASTFSERR 0x32
/*** SCSI Errors ***/
#define FERR_SELTIMEOUT 0x40 /* SCSI Time-out -- no drive */
#define FERR_BADSTATUS 0x41 /* Bad status after executing command */
/*** Amiga Library Errors ***/
#define FERR_NOCARD 0x70 /* Flyer card specified does not exist */
#define FERR_LIBFAIL 0x71 /* Library failed to pass command to Flyer */
#define FERR_ASYNCFAIL 0x72 /* An asynchronous command failed */
#define FERR_VOLNOTFOUND 0x73 /* Volume name not found */
#define FERR_NOFREECMD 0x74 /* Library<->Flyer RAM clogged */
#define FERR_BADID 0x75 /* Illegal async ID */
#define FERR_LIMIT 0x7F